<?php echo $this->fetch('header.html'); ?>
<!--<div id="rightTop">
    <p>APP设置</p>
    <ul class="subnav">
        <li><a class="btn1" href="index.php?app=app_setting&act=integral_setting">积分设置</a></li>
        <li><a class="btn1" href="index.php?app=app_setting&act=msg_setting">短信设置</a></li>
        <li><a class="btn1" href="index.php?app=app_setting&act=tuijian_setting">推荐设置</a></li>
        <li><span>支付设置</span></li>
    </ul>
</div>-->
<div class="info">
    <form method="post" >
        <table class="infoTable">
            <tr>
                <th class="paddingT15">
                    支付宝ID:</th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput" type="text" name="app_alipay_partner_id" value="<?php echo $this->_var['setting']['app_alipay_partner_id']; ?>"/>
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    支付宝公钥:</th>
                <td class="paddingT15 wordSpacing5">
                    <textarea name="app_alipay_public_key" style="width:70%"><?php echo $this->_var['setting']['app_alipay_public_key']; ?></textarea>
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    支付宝应用私钥:</th>
                <td class="paddingT15 wordSpacing5">
                    <textarea name="app_alipay_private_key" style="width:70%"><?php echo $this->_var['setting']['app_alipay_private_key']; ?></textarea>
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    微信应用ID:</th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput" type="text" name="app_wx_appid" value="<?php echo $this->_var['setting']['app_wx_appid']; ?>"/>
                    <span class="grey">绑定支付的APPID（必须配置，开户邮件中可查看）</span>
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    公众帐号secert:</th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput" type="text" name="app_wx_appsecret" value="<?php echo $this->_var['setting']['app_wx_appsecret']; ?>"/>
                    <span class="grey">公众帐号secert（仅JSAPI支付的时候需要配置， 登录公众平台，进入开发者中心可设置）获取地址：https://mp.weixin.qq.com/advanced/advanced?action=dev&t=advanced/dev&token=2005451881&lang=zh_CN</span>
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    商户号:</th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput" type="text" name="app_wx_mchid" value="<?php echo $this->_var['setting']['app_wx_mchid']; ?>"/>
                    <span class="grey">商户号（必须配置，开户邮件中可查看）</span>
                </td>
            </tr>
            <tr>
                <th class="paddingT15">
                    商户支付密钥:</th>
                <td class="paddingT15 wordSpacing5">
                    <input class="infoTableInput" type="text" name="app_wx_key" value="<?php echo $this->_var['setting']['app_wx_key']; ?>"/>
                    <span class="grey">商户支付密钥，参考开户邮件设置（必须配置，登录商户平台自行设置）设置地址：https://pay.weixin.qq.com/index.php/account/api_cert</span>
                </td>
            </tr>

            <tr>
                <th></th>
                <td class="ptb20">
                    <input class="formbtn" type="submit" name="Submit" value="提交" />
                    <input class="formbtn" type="reset" name="Submit2" value="重置" />
                </td>
            </tr>
        </table>
    </form>
</div>
<?php echo $this->fetch('footer.html'); ?>